package lesson15;

public class Person {
	String name;
	int age;
	String personalNumber;
	char sex;
	double weight;
	Person[] friends;
	double money;
	Car car;
	
	Person(){
		this.weight=4.0;
		this.age = 0;
	}
	Person(String name, String personalNumber, boolean isMale){
		this();
		this.name = name;
		this.personalNumber = personalNumber;
		if(isMale){
			this.sex = 'm';
		}else 
			this.sex = 'f';
		
		friends = new Person[3];
		//for(int i = 0; i< 3; i++){
		//	friend[i]= new Person();
		//}
		
	}
	
	
	

	
}
